package com.yifeng.repo.micro.service.server.mps;

import feign.Param;
import feign.RequestLine;
import next.fire.mps.api.MpAppTokenService;
import next.fire.mps.api.model.MpAppToken;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient(name = "mpsMpAppTokenServiceClient", url = "${yfcloud.micro.service.mps.url}", path = "/fire-mps")
public interface MpAppTokenServiceClient extends MpAppTokenService {

    @Override
    @RequestLine("POST /MpAppTokenService/get")
    MpAppToken get(@Param("mpCode") String mpCode, @Param("openAppId") String openAppId, @Param("mpAppId") String mpAppId);
}
